package br.com.r1.jpastandalone.models;

import java.io.Serializable;
import java.util.Calendar;

public class CreditCard implements Serializable {

	private static final long serialVersionUID = 1L;
	private Long id;
	private String number;
	private Calendar vencimento;
	private Client client;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public Calendar getVencimento() {
		return vencimento;
	}

	public void setVencimento(Calendar vencimento) {
		this.vencimento = vencimento;
	}

	public Client getClient() {
		return client;
	}

	public void setClient(Client client) {
		this.client = client;
	}

	@Override
	public String toString() {
		return "CreditCard [id=" + id + ", number=" + number + ", vencimento="
				+ vencimento + ", client=" + client + "]";
	}
}